package com.gfxy.modules.dbcenter.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.gfxy.modules.dbcenter.entity.Teacher;
import com.gfxy.modules.dbcenter.mapper.TeacherMapper;
import com.gfxy.modules.dbcenter.service.ITeacherDataSynchronismService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: lijixin 2021/6/10 2:38 下午
 */
@Service
public class TeacherDataSynchronismServiceImpl implements ITeacherDataSynchronismService {

    @Autowired
    private TeacherMapper teacherMapper;

    @Override
    public List<Teacher> getAllTeacherInfo() {
        List<Teacher> result = teacherMapper.selectList(Wrappers.emptyWrapper());
        return result;
    }
}
